<?php 
include TMPL_PATH.'public/header.phtml';
?>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
        <a href='<?php echo U('user/wedding_group');?>'><em>团单列表</em></a><span>|</span>
        <a href='javascript:;' class="on" ><em>信息内容</em></a></div>
</div>
<div class="pad_10">
<div class="common-form">
<form action="__SELF__" method="post" id="myform">
<table width="100%" class="table_form contentWrap">
<tr>
<td width="80">邮件标题：</td> 
<td><?php echo $msgInfo['title']?></td>
</tr>
<tr>
<td width="80">Name：</td> 
<td><?php echo $msgInfo['name'];?></td>
</tr>
<tr>
<td>Email</td>
<td><?php echo $msgInfo['email'];?></td>
</tr>
<?php if($msgInfo['type'] ==  1 || $msgInfo['type'] ==  3){?>
<tr>
<td>Phone</td>
<td><?php echo $msgInfo['phone'];?></td>
</tr>
<tr>
<td><input type="checkbox" <?php echo $msgInfo['call_back'] == 1 ? 'checked':''; ?> disabled /></td>
<td>request a call back</td>
</tr>
<?php if($msgInfo['type']!=3):?>
<tr>
<td>Wedding Date</td>
<td><?php echo date('M jS,Y',$msgInfo['wedding_date']);?></td>
</tr>
<?php endif;?>
<tr>
<td>Wedding Party Size</td>
<td><?php echo $msgInfo['formal_count'];?></td>
</tr>
<tr>
<?php }?>
<td>Message</td>
<td><?php echo $msgInfo['message'];?></td>
</tr>
</table>
</div>
<input type="button"  onclick="javascript:history.back();" value="返回列表" />
</div>
</body>
</html>